projects
/
project
/
ustream-ssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62f173c
)
openssl: Fix host_pattern_match
author
Christoph Ziebuhr
<chris@codefrickler.de>
Mon, 1 Dec 2014 13:41:35 +0000
(14:41 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Dec 2014 14:55:29 +0000
(15:55 +0100)
Signed-off-by: Christoph Ziebuhr <chris@codefrickler.de>
ustream-openssl.c
patch
|
blob
|
history
diff --git
a/ustream-openssl.c
b/ustream-openssl.c
index
06053e6
..
635d34c
100644
(file)
--- a/
ustream-openssl.c
+++ b/
ustream-openssl.c
@@
-121,7
+121,7
@@
static bool host_pattern_match(const unsigned char *pattern, const char *cn)
for (; (c = tolower(*pattern++)) != 0; cn++) {
if (c != '*') {
- if (c !=
*cn
)
+ if (c !=
tolower(*cn)
)
return false;
continue;
}